﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="recycle_bin.aspx.cs" Inherits="TRPOP.CMS.Web.Admin.recycle_bin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>回收站-<%=base.m_strBaseAdminPageName%></title>
    <script src="../../js/utils.js" type="text/javascript"></script>
    <script src="../../js/jquery.js" type="text/javascript"></script>
    <script src="../js/jquery.form.js" type="text/javascript"></script>
    <script src="../tree/xmenu.js" type="text/javascript"></script>
    <link href="../tree/xmenu.css" rel="stylesheet" type="text/css" />
    <script src="../js/recycle_bin.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="menudata">
    </div>
    <table class="table_list">
        <tbody>
            <tr>
                <th width="15">
                </th>
                <th>
                    ID
                </th>
                <th>
                    标题
                </th>
                <th>
                    编辑
                </th>
                <th>
                    日期
                </th>
                <th>
                    操作
                </th>
                <th>
                    类型
                </th>
            </tr>
            <cms:Repeater ID="rptrecyclelist" runat="server">
                <ItemTemplate>
                    <tr>
                        <td>
                            <input type="checkbox" name="delid" value="<%# Eval("ContentId")%>" />
                        </td>
                        <td>
                            <%# Eval("ContentId")%>
                        </td>
                        <td>
                            <a href="javascript:void(0);" onclick="doing('view','<%# Eval("ContentId") %>')"
                                oncontextmenu="rightMenu('<%# Eval("ContentId") %>','<%#Eval("Type") %>','<%#Eval("TopWeight") %>','<%#Eval("EliteWeight") %>','0',event);return false;">
                                <%# Eval("Name")%>标题 </a>
                        </td>
                        <td>
                            <%#GetAdminNameById(Convert.ToInt32(Eval("UpdateUserId")))%>
                        </td>
                        <td>
                            <%# Eval("PubTime")%>
                        </td>
                        <td>
                            <a href="javascript:doing('restore','<%# Eval("ContentId")%>');">恢复</a> | <a href="javascript:doing('destroy','<%# Eval("ContentId")%>')">
                                删除</a>
                        </td>
                        <td>
                            <%#Eval("Type").ToString()=="0"?"<font color=\"#AAAAAA\">虚链接</font>":Eval("Type").ToString()=="2"?"<font color=\"blue\">索引链接</font>":"实链接" %>
                        </td>
                    </tr>
                </ItemTemplate>
            </cms:Repeater>
        </tbody>
    </table>
    <table class="table_operator">
        <tr class=" tr_operator">
            <td>
                <input type="checkbox" name="chkall" value="on" onclick="setCheckAll(this)" id="chkall" />
                <label for="chkall">
                    全选</label>&nbsp;&nbsp;
                <select name="actionMap" id="actionMap">
                    <option value="destroy">永久删除</option>
                    <option value="restore">恢复</option>
                    <option value="empty_recycle_bin">清空回收站</option>
                </select>
                <input type="button" value="执行" class="button_style" onclick="going();" />
            </td>
            <td class="align_r hide">
                <cms:Button runat="server" ID="Button1" Text="显示:" CssClass="button_style" />
                <cms:TextBox runat="server" Width="20px" ID="TextBox1" />
                条记录
            </td>
            <td colspan="2" class="tr_pager align_l">
                <cms:Pager ID="Pager1" runat="server" PageSize="20" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
